<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
session_start();
if(!getMemIsRightCKey()){
	session_destroy();
	ErrMsgOutputHTML("CKey Error", "MemberNoSession", 1);
}

$_DBSite = "Master";
include_once(__DBConnect_File);

if(!getMemIsOnLine()){ 
	include_once(__Modules_Path."/LogRecord.lib.php");
	AddData_Log($_SESSION["Member_Info"] -> Account, "管理者 Session 不存在",  "管理者嘗試使用『".__FILE__."』，發現其尚未登入，或已過期限！！");
	ErrMsgOutputHTML("No Session", "MemberNoSession", 1);
}

/*
if($_SESSION["Member_Info"] -> isForceChangePWD == 1 && $_data["Force"] != "Yes" && $_SESSION["Member_Info"] -> SuppleID == ""){
	header("Location: /member/mem_password.php?Force=Yes");
	exit();
}

if($_data["Force"] != "Yes"){
	include_once(__Modules_Path."/UserSessions.lib.php");
	if(!UserSession_ReStart(session_id(), $_SESSION["Member_Info"] -> ID, $_SESSION["Member_Info"] -> MemberGroup, $_data["sid"]))ErrMsgOutputHTML("LoginError", "MemberNoSession", 1);
}
*/
?>